<?php
// $Id: local.php 205 2008-03-02 02:51:09Z mikhail.miguel $

// 2007-05-12 K.OHWADA
// get_ping_servers()

// 2006-10-05 K.OHWADA
// this is new file

//=========================================================
// Happy Linux Framework Module
// 2006-10-01 K.OHWADA
//=========================================================

//=========================================================
// class happy_linux_locate_jp
// Japan (JP)
//=========================================================
class happy_linux_locate_jp extends happy_linux_locate_base
{

//---------------------------------------------------------
// constructor
//---------------------------------------------------------
function happy_linux_locate_jp()
{
	$this->happy_linux_locate_base();

	if( defined('_HAPPY_LINUX_GM_DEFAULT_LOCATION') )
	{
		$gm_location = _HAPPY_LINUX_GM_DEFAULT_LOCATION;
	}
	else
	{
		$gm_location = 'Akashi Muncipal Planetaruim: Akashi, Japan';
	}

	$arr = array(
		'happy_linux_url' => 'http://linux.ohwada.jp/',
		'country_code'    => 'jp',
		'country_name'    => 'Japan',
		'yahoo_url'       => 'http://www.yahoo.co.jp/',
		'yahoo_map_url'   => 'http://map.yahoo.co.jp/',
		'google_url'      => 'http://www.google.co.jp/',
		'google_map_url'  => 'http://maps.google.co.jp/',
		'gm_server'       => 'http://maps.google.co.jp/',
		'gm_location'     => $gm_location,
		'gm_latitude'     => '34.64933466571561',
		'gm_longitude'    => '135.0',
		'gm_zoom'         => '6',
		'ping_servers'    => $this->get_ping_servers(),
	);

	$this->array_merge($arr);
}

function get_ping_servers()
{
// remove cocolog-nifty, becuase service is over
// http://info.cocolog-nifty.com/info/2006/10/ping_6da6.html

	$list  = '';
	$list .= "http://ping.bloggers.jp/rpc/\n";
	$list .= "http://bulkfeeds.net/rpc\n";
	$list .= "http://ping.myblog.jp/\n";
	$list .= "http://blog.goo.ne.jp/XMLRPC\n";

	return $list;
}

// --- class end ---
}

?>